﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AccountAdmin/AdminMaster.master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="PRJ_LDW_Eutoliso.AccountAdmin.Servico.Categoria.Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headTile" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="headScript" runat="server">
    <link href="/App_Themes/eutoliso/css/mGrid.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body_pre_central" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="body_central_first" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="body_central" runat="server">

    <!-- Start Box -->
    <div class="boxes-full">

        <div class="boxes-padding fullpadding">

            <!-- Start None Split Section -->
            <div class="splitnone">

                <div id="portfolio-container">


                    <!-- Start 4 column portfolio -->
                    <div class="element web">

                        <div class="col1">
                            <div class="wrapper_01">
                                <h3>
                                    <div class="wrapper_01">
                                        <li class="under_02"><a href="/AccountAdmin/Home.aspx" title="" class="active">Página Inicial</a></li>
                                        <li class="under_02"><a href="#">Anúncios</a></li>
                                        <li class="under_02"><a href="#">Meus Dados</a></li>
                                        <li class="under_02"><a href="/AccountAdmin/Servico/Home.aspx" title="" class="active">Serviços</a></li>
                                    </div>
                                </h3>
                            </div>
                        </div>

                    </div>

                    <div class="element graphic">

                        <asp:GridView ID="grvEstado" CssClass="mGrid" runat="server" AutoGenerateColumns="False" DataKeyNames="Id" DataSourceID="dsAreaAtuacao" Width="687px">
                            <Columns>
                                <asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="True" SortExpression="Id" />
                                <asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome" />
                                <asp:BoundField DataField="Observacao" HeaderText="Observação" SortExpression="Observacao" />
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <a href="/AccountAdmin/Servico/Categoria/Edit.aspx?ID=<%# Eval("Id") %>">
                                            <img src="/App_Themes/eutoliso/images/edit.png" /></a>
                                    </ItemTemplate>
                                    <ItemStyle Width="24px" />
                                </asp:TemplateField>
                                
                                <asp:CommandField ButtonType="Image" DeleteImageUrl="~/App_Themes/eutoliso/images/rejectionalert.png" DeleteText="" ShowDeleteButton="True">
                                    <ItemStyle Width="24px" />
                                </asp:CommandField>
                            </Columns>
                        </asp:GridView>

                         <br />
                        <a href="Insert.aspx" title="Inserir Novo" class="smallsmoothrectange orangebutton">Inserir Novo</a>

                        <br />
                        <br />
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:eutolisodbConnectionString %>" SelectCommand="SELECT Nome, Observacao FROM servicotipo WHERE (Id = @ID)">
                            <SelectParameters>
                                <asp:QueryStringParameter Name="ID" QueryStringField="ID" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                        <asp:EntityDataSource ID="dsAreaAtuacao" runat="server" ConnectionString="name=eutolisodbEntities1" DefaultContainerName="eutolisodbEntities1" EnableDelete="True" EnableFlattening="False" EntitySetName="servicotipo" EnableInsert="True" EnableUpdate="True">
                        </asp:EntityDataSource>
                        <br />

                        <br />

                    </div>

                    <div class="element logo">
                    </div>

                    <!-- End 4 column portfolio -->

                </div>

            </div>
            <!-- End None Split Section -->

        </div>

    </div>
    <!-- End Box -->


</asp:Content>
